<template>
  <div style="display:flex;justify-content:space-between;align-items: center;">
    <el-avatar
      size="medium"
      icon="el-icon-user-solid"
    ></el-avatar>
    <el-link
      style="margin:10px"
      :underline="false"
      @click="login"
    >登录</el-link>
    <el-link
      style="margin:10px"
      :underline="false"
      @click="register"
    >注册</el-link>
  </div>
</template>

<script>
export default {
  name: 'Loginning',
  data () {
    return {
    }
  },
  methods: {
    login () {
      this.$router.push('/login')
    },
    register () {
      this.$router.push('/register')
    }
  },
  components: {
  }
}
</script>

<style lang="less" scoped>
</style>
